<html>
<head>
<title>New Exam Properties</title>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
<link type="text/css" rel="stylesheet" href="/stylesheets/question_search.css" />
<script language="JavaScript">
function ExamAddCancel() {
    // document.location.href="\"
    // or
    history.goBack();
}
function ExamSave() {    
    	// var exName = document.getElementById("ExamName").value; 	
    	// alert("ExamSave(): " + exName);
	document.frmExamNew.submit();

}
</script>
</head>
<body>
<h2>New Exam Properties</h2>
<hr>
<form id="frmExamNew" name="frmExamNew" action="/exam_new" method="post">
<div><div class="labelEdit">Exam Name</div><input class="myTextInput" type="text" id="ExamName" name="ExamName" value="Our new Exam">
	<input class="myIntText" type="text" id="ExamID" value="" disabled=true></div>	
	<div class="labelEdit">Duration </div><input class="myIntText" type="text" id="myDuration" name="myDuration" value="" alt="In minutes"></div>
	<hr>
        <div>
        <input id="save"   onClick="ExamSave();"      type="button"  value="Save"> &nbsp;
        <input id="cancel" onClick="ExamAddCancel();" type="button"  value="Cancel"></div>
</form>
</body>
</html>
